export default ({ service, request, tools }) => ({
    //地图
    getMap({ key, keywords, subdistrict, extensions }) {
        return request({
            url: `https://restapi.amap.com/v3/config/district?key=${key}&keywords=${keywords}&subdistrict=${subdistrict}&extensions=${extensions}`,
            method: "get",
        })
    }
})